Add special case for KERN_PROC_PATHNAME sysctl to return correct value.