Address security vulnerability with PATH

See https://github.com/github/Windows/issues/1771 for details.