fixed using nil base product when registration failed (bnc#873683)

- register the base product again if it failed
- 3.1.35
do not use trailing condition for a too long line
Merge pull request #48 from yast/base_product_failure_fix

fixed using nil base product when registration failed (bnc#873683)