client: do not mix shared with exlusive references (bnc#877776)

An exclusive reference (master device reference) conflicts with
other exclusive references, but not with shared (lower device).