tweaks to the template plugin to support external partner repos