Fixing the github API stats script.

I somehow committed a broken version of this originally. Go me.