fix transformations/template tag handling: getConfigValueFromPath returns array of strings

I tried specifying a template in the XML using:

    <transformations>
      <template name="old-ocean"/>
    </transformations>

but the default responsive template was still used. I looked at the code and did some selective var_dumps, found that the return value of getConfigValueFromPath is an array of strings rather than an array of arrays.