device_cgroup: add proper checking when changing default behavior