Fix bug where the wrong author info is used for committing