Fixed condition for share-networks

With this change we won't take iteration error if neutron-net-id
or neutron-subnet-id is None in share-network.