Fix error when building without CI_COMMIT_REF_NAME set
Fix error when building without CI_COMMIT_REF_NAME set

gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab