RepositoryService: remove unnecessary method, getResourceByLookup in favor of using the resource results URI. Fixes #36058