Ensure set number is defined and reset
Some follow up from !45025 (merged) cc @tbold
Possible fix for ATLASRECTS-6498
Edited by Adam Edward Barton
GitLab jobs artifacts no longer stored forever as of Monday, November 4th 08:30h. Further information under https://cern.ch/otg0152576
Some follow up from !45025 (merged) cc @tbold
Possible fix for ATLASRECTS-6498