Issue #38, skipping nonexisting folders

Fix for Issue #38, skipping nonexisting folders. Works only if pull request #44 is merged.