[Bug 408959] New: chroot detection code in pre/postinstall broken