Fix an unbound local error.

(I swear I fixed this before.)