Fix ENV#fetch from X19

ENV#fetch should raise KeyError instead of IndexError from X19.