intridea/omniauth-github — pull request #25 by khash (2013-02-19 11:32:00+00:00)
Title: Private email is not returned if the public one is blank

if you had a public email on github but removed it (empty), then it comes back in raw_info as "" and not nil. This means it is not then replaced with primary_email from the emails API.