Process_Folder: enhance check for directory path
Merge pull request #1 from imagejan/patch-2

Process_Folder: enhance check for directory path