Got rid of some redundency in headnode.pp