OS-2022 improve imgadm import error handling for corrupt download