If a directly affected image returned by find_images_with_packages_from_content_set is also a parent image, it could possible be set incorrectly as a dependent.
This ensures that if the image from find_parent_images_with_package is used instead of the one returned by find_images_with_packages_from_content_set, directly affected is set on the image.
If a directly affected image returned by find_images_with_packages_from_content_set is also a parent image, it could possible be set incorrectly as a dependent.
This ensures that if the image from find_parent_images_with_package is used instead of the one returned by find_images_with_packages_from_content_set, directly affected is set on the image.