NetworkManager: enhanced stability for late-init (1.18 only)also move the debug output to its own method for cleanliness (commit: 56d3707)