Fix options parsing error
Remove extra slash in path
Merge pull request #1018 from andrerod/dev

Fix options parsing errors