Added support for external plugin repositories via _DIR variables.