Ensure that we maintain the `core.repositoryFormatVersion` value instead of always overwriting it with the default.