diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d7fc7375bb342f0b1510d6e5fd992b2d7319bd0e..fd3bcc7ed869ed38f254e4e6c807b77162821da9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,10 +47,12 @@ unittests:
   tags: [ docker ]
   stage: test
   script:
+    - type source
+    - type .
     - cp config.defaults .config
+    - echo 'DATABASE_USER_HOST_LIST="%,"' >> .config
     - echo "MYSQL_USER_PASSWORD=caosdb1234" >> .config
     - echo "MYSQL_HOST=mariadb" >> .config
-    - echo 'DATABASE_USER_HOST_LIST="%,"' >> .config
     - command -v mysql
     - ./make_db test-connection
     - ./make_db test --fresh