Repository() now parses URL to find its location.