Only init submodules if there is a .gitmodules