fix: use the master branch as default if named branch not found
Description
This MR defaults to the master branch (i.e. default branch) if the named release is not found. The reason is that we may have PRs that are actually opened against a named branch, but tutor and other tools are not released yet.
Supporting information
https://tasks.opencraft.com/browse/SE-6032
Testing instructions
Steps to test the changes:
- Proofread
Dependencies
NA
Screenshots
N/A
Checklist
If any of the items below is not applicable, do not remove them, but put a check in it.
-
All providers include the new feature/change -
All affected providers can provision new clusters -
Unit tests are added/updated -
Documentation is added/updated -
The TOOLS_CONTAINER_IMAGE_VERSION
in ci_vars.yml is updated -
The grove-template repository is updated
Additional context
N/A