[libvirt] [PATCH 3/4] storage: refactor metadata lookup