Fix for LOGSTASH-1920
Remove path from `pwd`
I yield.  Going with `unset CDPATH`.  May the odd user this affects forgive me now.
Only abort on 'embedded => true' if we are *NOT* JRuby.

As it turns out, programming is this terrible journey where we have
humans using some kind of silly error prone process whereby intent of
function is converted to instructions.

I am bad at programming sometimes.
Merge pull request #1113 from untergeek/untergeek-binfix

Fix for LOGSTASH-1920