GitLab jobs artifacts no longer stored forever as of Monday, November 4th 08:30h. Further information under https://cern.ch/otg0152576
This was meant to be a more clever way to check for the appropriate run directory, both including extra process directories and cleaning up error messages. There were a bunch of typos in it. It seems to be working now.
Sorry @ewelina and @mcfayden !