fixes bug, did not handle numbers in branch names..