Fixed previous cgroup check (see issue #1)