* Refactor code * PEP8 fixes * Check if /etc/selinux/config file exists before proceeding any other operations Fixes #21622 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>