Why were the attributes only set if strip_ns was not set?

Didn't make sense to me, so this is the change