look up chroot before running env (correctness fix)