IDEX-1193 fix deleting jar files