fix: Assume instanceSettings can be undefined
fix: Assume instanceSettings can be undefined

It was believed that instanceSettings would at last be an empty object.
But an occurence can make it appear as undefined.
As a preventive measure, assume it can be undefined.
Then later we have to find out why it's undefined in the first place

cozy/cozy-home,cozy/cozy-home,cozy/cozy-home