Fix leaking token when gh push fails.

Thx @gergelyke! Fixes #1.