Fixes crash when running `nimble path something`.