Fix bug where we choked on long tokens

https://github.com/gittip/shields.io/issues/70