Making minor changes to resolve NPE in netmgt.poller