[installer][host] fix some problems with preseed file not correctly written due to mount/umount confusion