Template checked that previous.commit_id existed but not that the current commit_id existed. Not sure what caused that to be null.