prevent bootloader from booting when no image has been written