[libvirt] [PATCH 15/23] src: replace mdir_name() with g_path_get_dirname()