I expect that $REGDATA could be a multiline value. 
This would mean, that every standard config file parser would fail to parse suseRegister.conf

While suseRegister is dead, I would except something like this, but i bet SUSEConnect will not.
What about regdata must be a filename and suse_register read the file instead of clientSetup4SMT.sh?