Fix action_plugins for modules not respecting check mode

Fixes #9140
Skip setting up delegate if using local transport