Fix wrong location of install package step

Change-Id: I50bb457c8a23a936c49c1d2117252c080567fe29
diff --git a/tcp_tests/templates/shared-sl-tests.yaml b/tcp_tests/templates/shared-sl-tests.yaml
index 6b5ab87..a2103a4 100644
--- a/tcp_tests/templates/shared-sl-tests.yaml
+++ b/tcp_tests/templates/shared-sl-tests.yaml
@@ -9,6 +9,7 @@
 - description: Install stacklight-pytest into virlual environemnt
   cmd: |
     set -e;
+    apt-get install -y  build-essential python-dev;
     apt-get -y install python-virtualenv;
     virtualenv --system-site-packages venv-stacklight-pytest;
     . venv-stacklight-pytest/bin/activate;
@@ -25,7 +26,6 @@
 - description: Configure tests
   cmd: |
     set -e;
-    apt-get install -y  build-essential python-dev;
     . venv-stacklight-pytest/bin/activate;
     stl-tests gen-config-mk;
     cp venv-stacklight-pytest/lib/python2.7/site-packages/stacklight_tests/fixtures/config.yaml /root/stacklight-pytest/stacklight_tests/fixtures/config.yaml;