Update check script

* GitLab Shell 1.7.1 is required
* Global projects are not supported (refs #5152)
Merge pull request #5163 from hiroponz/update-check-script-in-stable-branch

Update check script in stable branch
Merge pull request #72 from gitlabhq/6-1-stable

6 1 stable