Fix the check for RC/release before committing to master.
The check was checking the chart versions, which doesn't have RCs, instead of the gitlab version.
The check was checking the chart versions, which doesn't have RCs, instead of the gitlab version.