fixed failure in AutoYast autoupgrade mode (bnc#899168)

when the upgraded system was not registered (in that case
the system is newly registered)

- 3.1.126