Some fix for gitlab:gitlab_shell:check

Fixing issue #2970