bugfix cancel of configure cmd cause empty yml, thanks to @yoyama