Restore addDefaultsIfNotSet() for "default_commit_options"

This was erroneously removed in 9ec3a3b082eae354a53d54e35cb3b528339ab9f2.

Fixes #222