This was broken by e01f7f2c. Port the commit's changes from libnm to libnm-util. (cherry picked from commit 4bfd0bab)