diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml
index 5703d0293bd6c0b468ccb642ac84734aee2431e4..b412d6e22cfd676c6380332ee3b0e1b1f9d5c6d2 100644
--- a/.gitlab/ci/build.gitlab-ci.yml
+++ b/.gitlab/ci/build.gitlab-ci.yml
@@ -33,10 +33,10 @@ build:ubuntu_cpp:
           echo "Pull from branch name"
           BRANCH_TO_PULL=${CI_COMMIT_REF_NAME}
       fi
-    # Check group namespace is valid, if not DEPENDENCY_ID=6437 (aidge group ID)
+    # Check group namespace is valid, if it is then we are in the official project(aidge group id=6437), otherwise we pull from the fork 
     - >
       # nominal case : we are in the official project
-      if [ $(curl -s -o /dev/null -w "%{http_code}" "https://gitlab.eclipse.org/api/v4/groups/${CI_PROJECT_NAMESPACE_ID}") != 404 ]; then
+      if [ $(curl -s -o /dev/null -w "%{http_code}" "https://gitlab.eclipse.org/api/v4/groups/${CI_PROJECT_NAMESPACE_ID}") -ne 404 ]; then
         DEPENDENCY_ID=$(curl "https://gitlab.eclipse.org/api/v4/groups/${CI_PROJECT_NAMESPACE_ID}/projects?search=${DEPENDENCY_NAME}" | jq -r '.[0].id')
         echo "curling from \"https://gitlab.eclipse.org/api/v4/projects/$DEPENDENCY_ID/jobs/artifacts/$BRANCH_TO_PULL/download?job=$DEPENDENCY_JOB\""
         curl -f --location --output build_artifacts.zip "https://gitlab.eclipse.org/api/v4/projects/$DEPENDENCY_ID/jobs/artifacts/$BRANCH_TO_PULL/download?job=$DEPENDENCY_JOB"