Fix 'NoneType' object has no attribute 'create_network'

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>