Fix crash on loading changed disabled products.

Task-number: QBS-271

Change-Id: Ic0a693c381a6e55b7d45204fe1fa907c806a6eaa
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>