Since sandboxes which use the host network have no network namespace path this would result in an invalid invocation of nsenter. Rework the fetching of the sandbox to take this into account and also avoid trying to get an IP when the network plugin is not yet ready. Fixes #245. Signed-off-by: Ian Campbell <ijc@docker.com>