Work around for pytest compatibility
The ref bot fails to update the references in LHCb after migration to pytest because of no compatibility with new names in the test summary lhcb/LHCb!4773 (comment 9156878).
I am not sure if this change will fix the issue completely, but may be worth testing if we have no better option for today's evening.