net: don't leave hostsPath unrestored on error in TestLookupStaticHost
net: don't leave hostsPath unrestored on error in TestLookupStaticHost

If the return was reached, then hostsPath would not be properly restored
to its original value. See the (lengthy) discussion at
https://codereview.appspot.com/15960047/

I assume that this is not for Go 1.2; mailing now since I promised to do so.
I will plan to ping once Go 1.2 is out.

R=rsc, bradfitz
CC=golang-dev
https://codereview.appspot.com/16200043

Committer: Brad Fitzpatrick <ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@golang.org>

pombredanne/go-deleteme,tv42/old-go,pombredanne/go-deleteme,pombredanne/go-deleteme,pombredanne/go-deleteme,pombredanne/go-deleteme,tv42/old-go,pombredanne/go-deleteme,tv42/old-go,pombredanne/go-deleteme,tv42/old-go,tv42/old-go,tv42/old-go,tv42/old-go