Prevent orphaned images folder deletion from crashing Insight

Deletable things should still be deletable, and attempts to delete other things should not crash Insight.