Move transformation to unpacking time

As far as I can tell it doesn't handle links propertly
if done at packing time.