wip: modifed master to remove config/host/job node during undeploy