Detect the repos and arch from the lastbuild.