Fix a bug that causes `gister` to fail if no token.

There is a bug that if a user did not have  a token already, gister would fail.
Thanks to wenLiangcan.