Make sure undodir exists but files in it are ignored, update plugins