diff --git a/athena_ci/ci.yml b/athena_ci/ci.yml
index cd9b065e214e2ac1449ba0fd434682a421e8dddb..61e2ae4c67223145e32d5b7657358344262a7106 100644
--- a/athena_ci/ci.yml
+++ b/athena_ci/ci.yml
@@ -43,6 +43,7 @@ build_geomodel_athena:
   script:
     - git config --global user.name gitlab
     - git config --global user.email cijob@example.com
+    - git config --global --add safe.directory /builds/GeoModelDev/GeoModel
 
     # @TODO: Change to tag or something
     - git clone https://gitlab.cern.ch/acts/acts-athena-ci.git -b new-outer-script acts-athena-ci