resolver: Add missing slash in paths

This missing slash resulted in paths like this:

```
folder/folderpackage.json
```