(FACT-715) Fix LXC detection code for OpenVZ.

This patch fixes issue FACT-715. It works for me and it should not break anything.