Fix action_plugins for modules not respecting check mode

Fixes #9140
Template delegate private key look ups