Fixed branch name for detached head