add repo flag to plugin elements