UPDATE: Make config init more flexible allowing other repo types