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
Merge pull request #172 from yast/autoupgrade_fix

fixed failure in AutoYast autoupgrade mode (bnc#899168)