override repo dir instead of id