Fix --link option for plugman install