Fix exit code handling in import-dictionary validation cli test