Fixed unbounded local error issue #125

Proxy was never initialized in the else case.