Check include/exclude in file.recurse include_empty, Fix #2747

With `include_empty: True`, `file.recurse` was completely ignoring
include/exclude patterns with regards to directories.
Merge pull request #5489 from basepi/recurse2747

Check include/exclude in file.recurse include_empty, Fix #2747