Update check script in stable branch

* GitLab Shell 1.7.1 is required
* Global projects are not supported (refs #5152)