fix missing .git extensions on urls, added test to check for them
Merge pull request #3204 from ros/fix_extensions

fix missing .git extensions on urls, added test to check for them