Fix behaviour in the case where we have no commits to display.