Autoyast export 2

Rebased #421 with an additional unit test fix