Prevent repo.Lookup() to accept GitLink as a target type