basic wildcard fix to respect the case of datasets

* currently the wildcard matches are case-sensitive (i.e. only exact case is matched)
* TODO: it might probably be improved to provide case-insensitive matches what are aware of the case...
Merge pull request #4156 from dmwm/wildcard_case_sensitive

basic wildcard fix to respect the case of datasets