Fix FetchRefReplicatedEvent remote URI

When triggered by an applyObject execution, the triggered
FetchRefReplicatedEvent contained the `instanceLabel` that was used in
the request rather than the actual remote the ref was fetched from.

Lookup the remoteName and retrieve the actual URI from the source, so
that consumers of the FetchRefReplicatedEvent have visibility on the
actual source URL rather than the remote name in the configuration.

Bug: Issue 14865
Change-Id: I425b3deabd33d68ccdb4121d0772c04660292e31
3 files changed
tree: 4fc6fc17c12d1d68be5deb589f0f2a10a3387c93
  1. src/
  2. BUILD
  3. Jenkinsfile
  4. LICENSE