fix issues that phonegap plugins can be injected into package.json for the created project