Preserve the current path during split