NPE in ExternalImagesComparator fixed