only submodule init if we need to