Add ability to register custom package repositories

We need to be able to install packages from external repositories.