Should improve the error message in https://gitlab.cern.ch/lhcb-datapkg/AnalysisProductions/-/jobs/12075105