[FIX] module: fix imports broken at revision 5055
get_module_resource method is required by function fields of ir.module.module