LPS-50077 Fix RepositoryServiceTest