Index: monotone.py
===================================================================
--- monotone.py	(revision 925)
+++ monotone.py	(working copy)
@@ -84,6 +84,8 @@
         self._tree_cache = None
 
     def lookup_tree(self):
+        # Always change current dir to monotone working copy.
+        os.chdir(self.root)
         while 1:
             try:
                 entries = os.popen(self.CMD + " automate inventory").read().split("\n")[:-1]
