[BUGFIX] AbstractProvider->getTemplatePaths should only return array