Fix for segfault in img_io when underlying img info object returns false...

... information.