Fix undefined variable.

Only shows up when providing tidstorage-dict parameter.