Fixed problem with hyphens in branch names (issue #5)