Fix a bug in the handling of packages for primitive types. Should be empty string, not null