resolver: Add missing slash in paths

This missing slash resulted in paths like this:

```
folder/folderpackage.json
```
the defaultPath config should not get written if there is no option
Merge pull request #6 from koggdal/missing-slash

resolver: Add missing slash in paths
Merge pull request #7 from kamicane/master

the defaultPath config should not get written if there is no option
1.1.0