fix ansible-doc, ignore .git files.

As described in issue #5612, ansible-doc tries to parse .git files which were created using git submodules.

Like in #9221 and the corresponding fix 77f91eb031ba9d7f80c9b7a3a443a831e4c53f93, .git files should also be ignored.