Fix opening flatpakref of already-existing repositories
Instead of loading it, which won't work, pick the resource that we already have.
BUG: 401832