GITC: Expand relative remote URLs.

The GITC filesystem does not understand relative URLs for remotes,
so now if a remote uses a relative URL, it will be be expanded to
be relative to the manifest URL.

Change-Id: Ie1210758560aeb1934da3f71496aaf19c2728214
diff --git a/subcmds/gitc_init.py b/subcmds/gitc_init.py
index 6f5278b..92b34f7 100644
--- a/subcmds/gitc_init.py
+++ b/subcmds/gitc_init.py
@@ -66,8 +66,10 @@
     if not os.path.exists(self.client_dir):
       os.mkdir(self.client_dir)
     super(GitcInit, self).Execute(opt, args)
-    # Make the destination manifest file a symlink to repo's so both repo and
-    # GITC refer to the same manifest.
+
+    for name, remote in self.manifest.remotes.iteritems():
+      remote.fetchUrl = remote.resolvedFetchUrl
+
     if opt.manifest_file:
       if not os.path.exists(opt.manifest_file):
         print('fatal: Specified manifest file %s does not exist.' %