lint: don't crash because of nil errors
lint: don't crash because of nil errors

Fixes a regression introduced in 7e48d76e72a953e942c2ca6accec8259e3e3f371

dominikh/go-tools,dominikh/go-tools,dominikh/go-tools,dominikh/go-tools