Follow up to !24435 (merged)
Include the same temporary code as was done for ESDtoAOD.
The correct steering of this in RecExCommon is via TriggerJobOpts/python/TriggerGetter.py
however I ran into problems removing this block https://gitlab.cern.ch/atlas/athena/blame/master/Trigger/TriggerCommon/TriggerJobOpts/python/TriggerGetter.py#L54 (ping @tbold who added the block).
A JIRA to collect these temporary code blocks and manage the R3 EDM migration will be linked soon.