diff --git a/src/GitElephant/Objects/Tree.php b/src/GitElephant/Objects/Tree.php
index <HASH>..<HASH> 100644
--- a/src/GitElephant/Objects/Tree.php
+++ b/src/GitElephant/Objects/Tree.php
@@ -379,7 +379,7 @@ class Tree implements \ArrayAccess, \Countable, \Iterator
         if ($this->isRoot()) {
             return null;
         } else {
-            return $this->getPath();
+            return $this->getSubject();
         }
     }
getPath call was not ok