`get_object_data` function need to return `None` when `is_image_data(uri)` is not imagedata.