This check is being removed from gitlab-shell as the file is now being managed by gitlab-rails.
These changes make the code more reusable, testable, and most importantly, overrideable.