Fix for AttributeError and deprecated lxc-list function