[libvirt] [PATCH] return a sensible error on bogus paths