Avoid calling git symbolic-ref refs/heads/p4//HEAD (double slash)