detecting correctly if git submodule succeeded