return if a module exists or not
we use //.git here with recursive=False (which is the default) because otherwise we would find submodules too
Contents: