Simplified get_cgroup_mount_path from https://github.com/zidarsk8/lxc-checkconfig/commit/e38d577a8a1453197232c439408cd225c3071621