module needs to be passed to local_nvra

A module argument was necessary run the local_nvra function without crashing, per the last changes made. This commit fixes that.