Make it so that imagetype does not need to be set if it is not
needed.  Fixes using some options such as --chroot and
--cleanup-chroot when the build has failed at an early stage.