Fix on class not extending commonobject

+ return path after task deletion + start of replacing conf->entity by getentity