Fix issue in get_resources if plugin network is not presented