Bug 1007774 - Part 2: fix undefined/null error found with hamachi.

The error occurs on line 60.