[BUGFIX] Package meta data do not contain package type. (Revision 1)

When loading packages using the PackageManager class, the associated
MetaData instance is not initialized with the package type.

Change-Id: I49211adf9c7279e8c94e67ce57fa9b07c0c2c369
Releases: master, 2.2, 2.1
Revision-Id: 85fa5d1080752c19b9e36f484c2525f79deb8bfe