[BR][79359942] Use java system properties to find the PWD.

https://www.pivotaltracker.com/story/show/79359942

The PWD env variable may not be set. This can happen when:

1. Running inside an IDE
2. On windows
3. Perhaps many other scenarios?