account for possibility of no .gitmodule when subdir of git repo contains a cloned (non submodule) repo, for test