build_chroot_jail: fixed test for whether chroot dir is mounted yet