semodule: Fix incorrect variables usage

Change-Id: I338fe059cedde91f34a0852974ddabf17ea5c057
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>