Fix freeze when running from a non-root directory.

R=agable@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2204423002
diff --git a/git_common.py b/git_common.py
index c602103..720840c 100644
--- a/git_common.py
+++ b/git_common.py
@@ -405,12 +405,14 @@
   limit_mb = get_config_int(key, 100)
   untracked_bytes = 0
 
+  root_path = repo_root()
+
   for f, s in status():
     if is_unmerged(s):
       die("Cannot freeze unmerged changes!")
     if limit_mb > 0:
       if s.lstat == '?':
-        untracked_bytes += os.stat(f).st_size
+        untracked_bytes += os.stat(os.path.join(root_path, f)).st_size
       if untracked_bytes > limit_mb * MB:
         die("""\
           You appear to have too much untracked+unignored data in your git