fix getting svn branch