[Bug 691085] new repository defined but not used when submit a build