diff --git a/includes/features.ctools.inc b/includes/features.ctools.inc
index dc7f6f3..7332d97 100644
--- a/includes/features.ctools.inc
+++ b/includes/features.ctools.inc
@@ -206,7 +206,9 @@ function ctools_component_features_revert($component, $module) {
       // Some things (like views) do not use the machine name as key
       // and need to be loaded explicitly in order to be deleted.
       $object = ctools_export_crud_load($component, $name);
-      _ctools_features_export_crud_delete($component, $object);
+      if ($object && $object->export_type & EXPORT_IN_DATABASE) {
+        _ctools_features_export_crud_delete($component, $object);
+      }
     }
   }
 }
