Improved sysconfig security checks
Typo fixed