MDL-49329 admin: Improve the plugin package validator