fix forgotten SG_REF
Merge pull request #1261 from karlnapf/develop

fix forgotten SG_REF that broke a python example