This can be condensed:

``` ruby
options[:github] = options.delete(:repo) || name
```