add DPKG_ROOT support (closes: #983421)
With the changes in this merge request, a Debian chroot created with DPKG_ROOT is bit-by-bit equivalent to one created the normal way, as verified by this salsaci job: https://salsa.debian.org/helmutg/dpkg-root-demo/-/jobs