the defaultPath config should not get written if there is no option