Fix template crash on pull requests in the repo dashboard

Builds triggered via a pull request were showing an error in the label field: 
`/template: _:36:43: executing " content"="" at="" <.slug="">: Slug is not a field of struct type *model.Commit`