Remove unwanted .git suffix in github repo name

It can cause the following error:

    Repository not found: git://github.com/edelight/chef-mongodb.git.git

My ruby version: ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin13.2.0]