Better support for external extension packages.

This logic was exercised and shallowly tested via the uoneauth
package. Better local tests for this are coming soon.