Merge "Don't read git submodule commits during replication" into stable-3.6