GITC: Fix repo sync.

Fixing http://b/23785024 by calling os.getcwd() because variable
cwd no longer exists.

Change-Id: I21ff7d059e072f9f60726db76b67587a92c878ad
diff --git a/subcmds/sync.py b/subcmds/sync.py
index 2e9bbe7..7b44dbd 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -695,7 +695,7 @@
       # generate a new args list to represent the opened projects.
       args = []
       for proj in opened_projects:
-        args.append(os.path.relpath(proj.worktree, cwd))
+        args.append(os.path.relpath(proj.worktree, os.getcwd()))
       if not args:
         return
     all_projects = self.GetProjects(args,