diff --git a/.gitlab-ci/default.yml b/.gitlab-ci/default.yml
index 10b252cd1f76133a3b2df99d62c17882f99708cf..55d49b6a16779991fcbb65db3ec387a07bec4c3d 100644
--- a/.gitlab-ci/default.yml
+++ b/.gitlab-ci/default.yml
@@ -31,7 +31,7 @@ select tests:
       if [[ "$TRIGGER_SOURCE" == "merge_request_event" ]]; then
           echo "Detecting changes w.r.t to target branch '$MR_TARGET_BRANCH_NAME'"
           python3 bin/testing/getchangedfiles.py --outfile changedfiles.txt \
-                                                 --target.tree origin/$MR_TARGET_BRANCH_NAME
+                                                 --target-tree origin/$MR_TARGET_BRANCH_NAME
           python3 bin/testing/findtests.py --outfile affectedtests.json \
                                            --file-list changedfiles.txt \
                                            --build-dir build-cmake