restore working dir after installing jpype