handle .git suffixes on repo names
whitespace fix