Clean up output of "for_each_ref()" when GIT_DIR is "."

Remove the "./" at the head, it just looks much nicer.
diff --git a/refs.c b/refs.c
index 447080e..7ccd721 100644
--- a/refs.c
+++ b/refs.c
@@ -26,6 +26,11 @@
 		struct dirent *de;
 		int baselen = strlen(base);
 		char *path = xmalloc(baselen + 257);
+
+		if (!strncmp(base, "./", 2)) {
+			base += 2;
+			baselen -= 2;
+		}
 		memcpy(path, base, baselen);
 		if (baselen && base[baselen-1] != '/')
 			path[baselen++] = '/';