config.c: better detect whether template group already is created
config.c: better detect whether template group already is created

cgroup_config_create_template_group: properly detect whether template group was created

Signed-off-by: Ivana Hutarova Varekova <2e3918a0a366ea7e658a2062ab582c898a7e1b1b@redhat.com>
Acked-by: Jan Safranek <a7f4b96ffdd515ecef00f117294da18555749b0b@redhat.com>

rafalmiel/libcg,rafalmiel/libcg,rafalmiel/libcg,rafalmiel/libcg