fix crash on missing Depends items in Export items

Task-number: QBS-442

Change-Id: I6f08ca595665fca35451027c79be99f5ebcefb9f
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>