cros_au_test_harness: Fix running VMTest serially

Fix issue that VMTest is running in parallel even if --parallel
is not set.

BUG=None
TEST=tryjob

Change-Id: Ic2095c52bd6dc8eb8a93bc4ac5a49cf7f771250e
Reviewed-on: https://chromium-review.googlesource.com/627260
Commit-Ready: Po-Hsien Wang <pwang@chromium.org>
Tested-by: Po-Hsien Wang <pwang@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Daniel Wang <wonderfly@google.com>
diff --git a/au_test_harness/cros_au_test_harness.py b/au_test_harness/cros_au_test_harness.py
index be6bd07..cd5f3c9 100755
--- a/au_test_harness/cros_au_test_harness.py
+++ b/au_test_harness/cros_au_test_harness.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/env python2
 
 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style license that can be
@@ -241,7 +241,7 @@
             log_dir=opts.test_results_root)
         my_server.Start()
 
-      if opts.type == 'vm' or opts.type == 'gce' and opts.parallel:
+      if (opts.type == 'vm' or opts.type == 'gce') and opts.parallel:
         _RunTestsInParallel(opts)
       else:
         # TODO(sosa) - Take in a machine pool for a real test.
diff --git a/ctest/ctest.py b/ctest/ctest.py
index b15f016..d14a3b1 100755
--- a/ctest/ctest.py
+++ b/ctest/ctest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/env python2
 #
 # Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style license that can be