Fix crash in IJulia when using paths