Incorrect checkout of git submodules