Compare exploded values in the sysctl module to avoid whitespace errors

Fixes #3931