fixed a problem with tessdata export in the special case of running in Maven context