Fix null pointer bug when warnings don't exist.

Close keybase/keybase-issues#234

Bugfixes: