Only set the type if it is not provided.

This is needed for the high watermark migration. I need to convert BackupRun to GoogleMailBackupRun in order to get the low_watermark attributes. This allows me to update the type attribute without it being replaced by the class name.