fix submodule commit locking.