This if is a little odd. Can you change the test to `err != nil`?

```
if err := unmarshal(resp.Node.Value, &mach); err != nil {
  return nil
}

return &mach
```