Merged get_module_metadata and module_exists