Fix detected branch name

My git-fu needs some practice...