"refs/heads/" now not applied for remote branch if it start with "refs/". Closes #481