Given a text namespace, strip any package namespace that may currently be present. This is similar to calling BuildFullNamespace with an empty package namespace, however this version will also remove the package namespace markers.