Fix finding tags from image path.