Match against a branch even if it's a semver version/range that does not exist, fixes #771.
Merge pull request #786 from bower/git-semver-branch

Match against a branch even if it's a semver version/range that does not exist, fixes #771.