Modify the module metadata to include it's type (or legacy system 'portal_type').