Just to make this clear: It was done the same before, I suspect the actual bug was within lxc-ls - although I couldn't reproduce it.