libiwinfo: properly detect open network reported by wpa_supplicant