diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fe53d20e62b158779b42b6336a1c50eeade60dc2..b99c97fd37d7f80d799bcd4057de44eff2054671 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -104,6 +104,7 @@ test:behat:
 
   before_script:
     - docker info
+    - apt-get install --yes git-core
     - git clone http://github.com/aegir-project/tests.git tests
     - cd tests
     - git checkout $AEGIR_TESTS_VERSION