Check arguments passed to find_subimage