fixed bug 1330348: running Java: ImagePath is set to working directory if no path is set before first image search