au_worker: Defer chroot path replacement until call to test_that

When running KVM tests, cros_run_vm_test starts a KVM instances, and tries to
SSH into it with the provided private key, before its call to test_that (the
ssh_ping phase). ssh_ping needes the key path to be outside of chroot. So we
defer the chroot path replacement until the actual call to test_that, which only
runs inside chroot.

Also, fix an out-dated parameter in gce_au_worker.py. This is a left-over of
CL:286934.

BUG=brillo:1200
TEST=Trybot run with rambi-pre-cq, and a trybot run with a build that has the
USE flag 'generated_key' enabled.
CQ-DEPEND=CL:296723

Change-Id: Iaf911d859333d748add452bda1a2d012f91cf2f8
Reviewed-on: https://chromium-review.googlesource.com/296832
Commit-Ready: Daniel Wang <wonderfly@google.com>
Tested-by: Daniel Wang <wonderfly@google.com>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
4 files changed