Fixed issue with -createBranchNamed:

This function was returning a branch object even if it couldn't create the branch. This would happen if the branch already existed.