semodule: Add some more conditionals

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