Fix missed var rename isPluginsFile -> isPackageFile