network: Adapt to the new NetworkManager API names

"physical connection" has been replaced with "primary connection"