support the ls expand option also for projects

packages of linked projects can be listed using the expand option