Fix issue with the $modules getModule noPermissionCheck option call.