Don't initialize network for 'none' mode

Fixes #7837

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Merge pull request #7878 from LK4D4/fix_net_for_none

Don't initialize network for 'none' mode