Fix bug 1125585 "[S31183]Add duplicate network - Command 'network list --detail' will not work and the error message should indicate the reason".