Fixed false positive if github auth failed

Closes #12