base-files: sysupgrade: exit if the firmware download failed