CGE2: Rework empty-checks of strings.