Fixed crash on transformer.

Fixed crash on getting package name.