Update gitlab-ci script to make it work

Merged username-removed-270406 requested to merge (removed):fix/gitlab-ci-script into develop

Title says everything 🐈.