Don't crash on bad plugins.json; fixes #2323
Merge pull request #2324 from beaugunderson/no-crash-on-parse-plugins

Don't crash on bad plugins.json; fixes #2323