Merge pull request #2 from MarcCote/master

Fixed issue #1.
[FIX] remove '/' if it is at the and of a path (as an arg)