handle devices referenced by by-id/by-uuid