Fix #580: `getAttributeNS` should return `null` for nonextant attributes.