Fix bug with possible absence of ip_version in network_resources

Change-Id: I92c218238802a777a477c6c109aaa888a56ef125