Bug 877999 - Check that network is not null