Added retry for default_gateway

If the network stack is not fully initialized when the
default gateway is retrieved, the gateway will be None.

Without the http metadata service, cbs-init cannot
post the "Admin" user password to the metadata service
and thus making the password accessible to the user.
Merge pull request #4 from ader1990/gateway-retry

Added retry for default_gateway