This method is not very useful - it just obfuscates. I'd prefer to keep the `_repository.Refs.IsValidName` call.