Fix exclude example. example() only works with directories
minor #321 Fix exclude example. example() only works with directories (Maks3w)

This PR was merged into the 0.4.x-dev branch.

Discussion
----------

Fix exclude example. example() only works with directories

Commits
-------

09e7a59 Fix exclude example. example() only works with directories