better infra support

Mostly changes to unbreak poudriere build and f10 ports. Please, comment on individual commits if you have issues/questions with specific changes.