Fix parsing of --jars arg, which caused ClassCastException