config: unify 'confdirs' and 'roots' semantics