Make sure we don't try to create thumbnails for things we can't.