Check for None configuration settings in _should_autocommit()