When creating attributes of type string in python, they are not initialized with default values. Therefore, you must first create an attribute, and then set the value to it:
node = hou.pwd()
geo = node.geometry()
geo.addAttrib(hou.attribType.Global, 'newAttribName', '')
geo.setGlobalAttribValue ('newAttribName', 'newAttribValue')