dbc9ebc6ab
We currently only find a matching ref on the same remote in a merge request pipeline, but not in branch pipelines. It can occasionally be useful to run a pipeline without opening a merge request, so try the same remote here as well instead of just assuming origin. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2814>