Fix to pass (referencing input lang instead of output lang).

When checking the terminal spec for the output language, pass was
referencing the input language instead.