A second attempt at getting the right commit ID.