[autotest] Fix autoserv command line generation in test_that

BUG=chromium:1039843
TEST=/usr/bin/test_that --no-quickmerge --autotest_dir \
    ~/trunk/src/third_party/autotest/files --board=samus \
    chromeos2-row4-rack11-host5.cros dummy_Pass

Change-Id: If5737f54f6c60a547116ccaa59df705e663bcce7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/1988724
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Auto-Submit: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Alex Zamorzaev <zamorzaev@chromium.org>
Commit-Queue: Zhizhou Yang <zhizhouy@google.com>
diff --git a/server/autoserv_utils.py b/server/autoserv_utils.py
index 869144c..76e8601 100644
--- a/server/autoserv_utils.py
+++ b/server/autoserv_utils.py
@@ -79,7 +79,7 @@
     if results_directory:
         command += ['-r', results_directory]
     if host_info_subdir:
-        command += ['--local-only-host-info']
+        command += ['--local-only-host-info', 'True']
         command += ['--host-info-subdir', host_info_subdir]
 
     if machines: