Fix some checks that failed preventing the continue of usb image creation