Correct globbing patterns to detect files

The current pattern did only find files in subdirectories. Let's make the subdirectory optional in the globbing pattern.