More getPluginInstance bulletproofing, and added exception