I'm not @kring but you're right.  Always returning undefined from getProxy is better, since it doesn't actually need one.