Fix issue with sysctl parameter parsing introduced by 0e8c7b1

Fixes #6806