Fixes an issues exposed by LHCb!3380 (merged) by using the new addSharedConditionDerivation added by that MR.
addSharedConditionDerivation