Fixes crash when running `nimble path something`.
Merge pull request #71 from gradha/pr_fixes_path_crash

Fixes crash when running `nimble path something`.