TEMP: workaround global __FILE_LIST not being pickled
diff --git a/src/buildstream/node.pyx b/src/buildstream/node.pyx
index 89bb18e..3e95032 100644
--- a/src/buildstream/node.pyx
+++ b/src/buildstream/node.pyx
@@ -1437,7 +1437,7 @@
cdef __FileInfo fileinfo
self._node = nodeish
- if (nodeish is None) or (nodeish.file_index == _SYNTHETIC_FILE_INDEX):
+ if (nodeish is None) or (nodeish.file_index == _SYNTHETIC_FILE_INDEX) or not __FILE_LIST:
self._filename = ""
self._shortname = ""
self._displayname = ""