Fix Find Jar For Class for use as plugin

When this developer changed the Beanshell script to be able to be
run from the command-line, he forgot to test whether things still
work when the script is called via ImageJ's menu.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>