init: Give up with a shell if no network & debug mode

In case of DEBUG=1, let's give up the networking detection by providing
a shell instead of trying endlessly to find some network.