Fixes #8
Merge pull request #10 from jurajkapsz/master

Prevent double path output. Fixes #8