[RFC PATCH 1/2] virt-aa-helper: refactor for readability