Updated PluginBase::getResources() for Phar plugins