Fix for getDomainDir() in langtool