github.rb: use abort() in more places

And remove an extra exit()