Fix bower not looking tags when target looks like a semver, fixes #872.