Update repo.rb

The configuration option `key` clashes with [the Ruby method of the same name](http://www.ruby-doc.org/core-2.0/Hash.html#method-i-key). This change switches to hash syntax, vs. object syntax to bypass the errors reported in #1.