prepare_release_notes: fix bug introduced in previous commit
Fix bug introduced in !62596 (merged) (mixup of the branch_rel and branch_nig variables).
GitLab jobs artifacts no longer stored forever as of Monday, November 4th 08:30h. Further information under https://cern.ch/otg0152576
Fix bug introduced in !62596 (merged) (mixup of the branch_rel and branch_nig variables).