protected function _expandPrefix($path)
    {
        if (preg_match(self::PLUGIN_PATTERN, $path)) {
            return $this->_expandPlugin($path);
        }
        if ($this->theme && preg_match(self::THEME_PATTERN, $path)) {
            return $this->_expandTheme($path);
        }

        return $path;
    }