Fix cgroups when using work fetch #3819