afm-unit.conf: Refactor its generation

No match.