This found a problem for variable-exists. After #934 lands, I can get access to the caller environment and fix it.