Added hasGitModules to JGit