attrib-server: Fix invalid device access

When the device is not found, the channel attach must fail.