Fixed error when the site.github config key is set, but site.github.url is not

Fixes #42
Yeah, your suggestion works too. I don't have a preference, but I don't do much Ruby, so not sure which one is considered more idiomatic :smile: