[jpirko/libteam] 665fb4: teamd: fix check in __find_by_item_path()