[libvirt] [PATCH v4 1/4] storage: Split out the valid path check