Gracefully handle a null template mapping for a status code