[Plugin Installer] Better error handling for parsing metadata