Simplify branch name detection.