`dpkg --print-architecture` will be wrong when creating a foreign architecture chroot and we cannot chroot() as the chroot directory is still empty.