Fix usage of package.json for plugins search