Fix crashing with local components

Pass in correct context to the paths builder fixing crashing when `paths` are used in `component.json`
Merge pull request #4 from edmellum/master

Fix crashing with local components