image: Fix the CONFIG_EXTERNAL_CPIO logic