Fix SHA extraction for git commits on the incr build page.