git-build: don't munge log urls

path.join() is only for filesystems and was collapsing sequential '/'
chars leading to urls like 'http:/blah.com/blah'. Doh!

Also, add tests.