[BUGFIX] Fixed AbstractProvider::getGrid,  may be mixed

The return value of ``AbstractProvider::getTemplatePaths(...)`` may be mixed. Since the call to ``getGridFromTemplateFile(...)`` in ``AbstractProvider::getGrid(...)`` only accepts an ``array`` as paths, the ``$paths`` variable must be transformed to an array.