[Fix #1418] Avoid deprecation warning for hidden directories

Even the recommended pattern style would generate
"Warning: Deprecated pattern style" before this fix. Hidden
directories are not matched with the new style of matching,
but that's intentional. Hidden directories must be
explicitly added in Include parameters in order to be
inspected.
Merge pull request #1424 from jonas054/1418_deprecated_pattern_style_bug

[Fix #1418] Avoid deprecation warning for hidden directories