Fix: mergeConfigs ensures the plugin property exists (fixes #1191).