Fixed issue with -createBranchNamed:

This function was returning a branch object even if it couldn't create the branch.
Cleanup
Merge pull request #158 from dmgctrl/create_branch_bugfix

Fixed issue with -createBranchNamed: