[libvirt] [PATCH] util: Change usage of ent->d_type != DT_DIR