[[ Bug 11684 ]] Nil pointer crash if prepare image called on non-existent image file