Change repo to take repo location from params

This allows us to override the url, and pushes some of the complexity
into the params file.