Fix check_lxc_container_is_running to work with any versions of LXC

See #155