fix Issue #457

Remove the links from old address after updatelayers. Respect different host in geoserver and geonode