I think this fixes a crash with absolute paths, without leaking any memory (I hope)