Fix GitLab Shell version check
Created by: aus
Currently, the gitlab_shell_version_file
uses repos_path
to find the VERSION file. I have moved my repositories path to a custom directory outside of gitlab-shell
. This causes the check to fail and return Unknown. The hooks directory is more likely to be inside the gitlab-shell base directory. Using the hooks path to find the VERSION file would be more reliable.