only disable network autostart if the network exists

Change-Id: I4d8c813d50b4294827105fc9e2940fdd53e960db