fixed return value from product registration call (bnc#875412)

- 3.1.40
updated changes
Merge pull request #59 from yast/registration_fix

fixed return value from product registration call (bnc#875412)