Fixes #1062 - foreach over paths in case of duplicates
Merge pull request #248 from skybet/master

Fixes #1062 - foreach over paths in case of duplicates