Fix RuntimeException when using command line profile option

A RuntimeException is thrown in current Master and LanguageTool 2.7 with e.g.:

    java -jar languagetool-commandline.jar --profile README.txt