Ensure consistency between internal and ivar path in Pathname