Fix wrong output directory for root file containing checks histograms
A mistake caused the root file containing any histograms created from checks to be stored in the wrong location. Previously it was being stored in the main Analysis Productions directory. This MR fixes this so that it is placed in the local-tests/XYZ/output/checks
directory for the relevant local test (or in the custom output directory specified if using the optional argument with lb-ap check
).
Work related to https://gitlab.cern.ch/lhcb-dpa/project/-/issues/93