do not try to find a candidate if there aren't any

gives up early if there are no candidate images.