Pass the correct object to local module check

The normal action plugin was passing module_name when the code path
actually needed the module object itself.

Change-Id: Idb8968a7020ffb159d0d016b5bfab6bd88219c70
2 files changed