Allow adding extra repositories for resolving dependencies

Fixes, based on your comments.