Fix bug in handling branch name for svn