mainred: refine local build code slightly

No Results