[importer] Fix for metrics only being caught on failed imports