Use the correct undo dir