LPS-46842 remove the `actualRepositoryId` variable