Fix null instead of undefined

For some reason, this.getAttribute now returns `null` instead of `undefined` if the attribute hasn't been written explicitly in the tag - I don't know whether that comes from the recent changes you made to x-tag core, but the fix I suggested for allowing to have "" values wouldn't work anymore.

This fixes it.