Changed repo configuration method.