fixed check for registered status (bnc#886116)

- 3.1.89
Merge pull request #130 from yast/registered_fix

fixed check for registered status (bnc#886116)