vyos.template: T2720: allow setting template directory
(cherry picked from commit d3d4e3bedcc0b43e16554b1832b43da9d41e651f)