bone-capemgr: Fix crash when trying to remove non-existant slot

Wrong test for not-found case lead to crash. Fix.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>