[git] strip .git off git module names (GNOME bug 591508)