Always append '.git' to git clone urls.

fixes #1485 
@ussuri