Hack to put packages in the autotest dir as well as autotest/packages.

Since we are using old and new code we are running in to issues where files
are expected to be in two different places. This adds a temporary fix that
copies the package files up one level in <build>/autotest from
<build>/autotest/packages.

TEST=Ran staging locally and confirmed that the tarballs appear in both areas
BUG=chromium-os:28198

Change-Id: I35adfecb539f11d4924406984e955897e44afe81
Reviewed-on: https://gerrit.chromium.org/gerrit/18996
Reviewed-by: Chris Sosa <sosa@chromium.org>
Commit-Ready: Scott Zawalski <scottz@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: Scott Zawalski <scottz@chromium.org>
diff --git a/devserver_util.py b/devserver_util.py
index 7cfd024..3ce7344 100644
--- a/devserver_util.py
+++ b/devserver_util.py
@@ -200,6 +200,12 @@
   else:
     cherrypy.log('Using pre-generated packages from autotest', 'DEVSERVER_UTIL')
 
+  # TODO(scottz): Remove after we have moved away from the old test_scheduler
+  # code.
+  cmd = 'cp %s/* %s' % (autotest_pkgs_dir,
+                        os.path.join(staging_dir, 'autotest'))
+  subprocess.check_call(cmd, shell=True)
+
 
 def SafeSandboxAccess(static_dir, path):
   """Verify that the path is in static_dir.