only creating elections dir if really needed