manage_version: fix gating of master branch
Fix output of branch
function to prevent alteration of appVersion on
the master branch
cc @twk3 @pursultani
fix https://gitlab.com/charts/gitlab/commit/9a64623a5382c316d603fbb82c6b23e419500f32#note_150702603