Fix submodule problems by removing .git/index .git/modules/ before submodule add