ansible-doc: skip directories (new library/ format)

The new subdirectory format of library/ caused ansible-doc to choke on directory names.