Implement -hide-all-plugin-packages and -plugin-package(-id), fixing #11244