Part of !537. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/537
https://bugzilla.gnome.org/show_bug.cgi?id=791121