Handle missing head repo gracefully.

The payload for closed pull requests doesn't include that currently.