don't mount the mod folders at all for make docs

fixes #3873
Merge pull request #4049 from Mailaender/make-docs-fix

Fixed make docs for downstream packagers