Fix some null pointers.

---
Squash commit from https://github.com/ndahlquist/github-coverage-chrome-extension/pull/4 created by Whaler.