Implemented a check if no network existed.