Ticket #185: Fix perf regression when checking client status

Ticket #85 introduced a performance regression when target states, in
client /proc, are read, due to a wrong 'if' test and too many calls to
Component.labels(). This patch fixes this behaviour.

Change-Id: I0f19d66e0c19e8a1590d8332d01673878efb13a8