Fix sharedir validation
Released 0.37