--- gvfs-1.23.2/metadata/metatree.c	2014-11-20 15:02:47.000000000 +0100
+++ gvfs-1.23.2.fix/metadata/metatree.c	2014-12-07 14:51:22.222488980 +0100
@@ -2311,7 +2311,8 @@
 
   builder = meta_builder_new ();
 
-  copy_tree_to_builder (tree, tree->root, builder->root);
+  if (tree->root)
+    copy_tree_to_builder (tree, tree->root, builder->root);
 
   if (tree->journal)
     apply_journal_to_builder (tree, builder);
