That won't work. `ArtifactDescriptorRequest` and `ArtifactRequest` are using `RemoteRepository`, so we cannot pass them a `LocalRepository` object.