Fix exception inside lxc
Merge pull request #15089 from cachedout/lxc_test_fix

Fix exception inside lxc