[Libvir] [PATCH] Fix callers to virGetDomain and virGetNetwork