Factor GITLAB_SHELL_VERSION get method