Tweaked CheckIfFileIsInPath()

The per-user and machine-wide PATHs are concatenated by the OS automatically, no need to do it manually.
The manual concatenation also had the unintended side-effect of ignoring per-process PATH entries.