Fix check for bad chroot