(FACT-715) Fix LXC detection code on old OpenVZ

LXC detection code raises errors on old OpenVZ. Avoid terminating by
catching failures and returning false.
Merge pull request #828 from MikaelSmith/bug/master/FACT-715-fix-LXC-detect

(FACT-715) Fix LXC detection code on old OpenVZ