Fix order of submodule init.