net: do not show error message when no network is online

The warning shall be given when no network is configured, not when no network is
available at the moment.

Thanks to paalsteek on IRC for feedback on how the network session thingy works
on his machine.