jenkinsci/cygpath-plugin — pull request #1 by bcopeland (2011-11-02 18:19:32+00:00)
Title: make cygpath more likely to work on recent cygwin installs

Newer versions of cygwin use different registry keys to locate
the root directory. If we can't find the key in the registry,
chances are good that it's installed in the default location, so
try there next.

---
It would be great if we could get some fix in here, even a hack like this -- the original bug is 2 years old or so and will just bite more and more people.

There's also this nearly identical patch that I just saw after writing mine:
https://github.com/rvanoo/cygpath-plugin/commit/443d8ca8f32d7f5cd2a6d8af92763a42cab05a4b