fix: --uboot/--dtb error detection

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>