Handle ENOENT for sysctl (fixes #452)