Generate CgroupPaths when not available.

This happens always for non-Docker containers and sometimes with older Docker
containers.