Stop walking immediately if a value is undefined