fix NPE of "network list --detail"