Only try for a commit message if we need it