Don't open module dirs; just files.

Fixes bug in salt-ssh that prevents it from working when nested dirs
exist under /srv/salt/_modules. Closes #15671.
Merge pull request #15672 from cachedout/issue_15671

Don't open module dirs; just files.