network_ipam_refs is empty list when vn doesn't have subnets configured....

... Fix the check