Part of #1237 (closed)
This check is now in a gitlab-ce initializer. It should happen in Gitaly instead.