Fix Exception thrown in Linux when no_proxy is empty

Backport from mono/master commit 69b90e3

Change-Id: Ic42f94935533f874af9df3bd3c55c8c90688c79b