"No such variable"

Add a branch to tell if the key is in the dic or not.