chroot: fix LXC detection with only one namespace