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.