add several checks to googleimportplugin to make importing more stable