Fixed for GRAILS-9778 - Cygwin shows empty path

Here's a pull request for Issue: GRAILS-9778.

I took the solution from this discussion:
http://grails.1312388.n4.nabble.com/Grails-bug-with-cygwin-terminal-td4639236.html