detect branch name from local directory name for subversion projects
v2.1.3