modulemanager: Fix undefined global access in handling of module.save error handling.
modulemanager: Fix undefined global access in handling of module.save error handling.

sarumjanuch/prosody,sarumjanuch/prosody