[PDI-12812] - implementing exportResources for PMR.

transMeta may be null if trans is empty or specified by id, consider null check here