some fixes to generating repos
more exit cases when polling for job
pull out wait status
require use of rhs-auto* machines