ignore dummy folder and dataset_infos.json
Fixes #2877

Added the `dataset_infos.json` to the ignored files list and also added check to ignore files which have parent directory as `dummy`.
Let me know if it is correct. Thanks :)