control: Prevent AttributeError in cleanup

Apperently not all modules have __name__ attribute...

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>