Fix error 'cannot infer basepath'
Merge pull request #1 from onjiro/master

Fix error 'cannot infer basepath'