Fix the initial storeUUID determination.

[FIXED]     Now using a tentativeStoreUUID to store a new random UUID
            that will be assigned to the storeUUID as soon as the store
            has been successfully created or migrated with it.