Fix action_plugins for modules not respecting check mode

Fixes #9140