OS-2903 don't crash on image import where the source doesn't have the origin image