Fixed issue where pathRoot wasn't being considered

I alter the root path in my configs but couldn't get my less files to build with the new API.

I fixed issue where pathRoot wasn't being considered and added a test.

Thanks for your awesome work, I'm digging the new API, cheers :beers:!