Add check of state of SELinux to avoid fail when SELinux is disabled