Fixed NPE in NodeConnector when updating connection map