Fix getCommitInfo return in case of error