Fix #819: Error persisting package model for project: ...

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>