Pass VarRef to ScopeGetVariable