Fixup undo directory s.t. it actually works