fix hiding branch when not in git repo