build_chroot_jail: fixed typo -- wrong variable name in check