When provisioning a preview environment from a PR on nuxeo-elements, we are not considering the branch name for checking out the Web UI repository (see https://github.com/nuxeo/nuxeo-web-ui/blob/maintenance-3.0.x/.github/workflows/preview.yaml#L42).
We should a similar strategy to what we already do here