I'm not sure if I find this more readable, usually go code handle error first.

Compare:
```
if nsname, exists := n.Context["nsname"]; exists {
     context["nspath"] = fmt.Sprintf("/var/run/netns/%s", nsname)
     return nil
}
return fmt.Errorf("nspath does not exist in network context")
```

With
```
nsname, exists := n.Context["nsname"]
if !exists {
    return fmt.Errorf("nspath does not exist in network context")
}
context["nspath"] = fmt.Sprintf("/var/run/netns/%s", nsname)
return nil
```