fixed check for registered status (bnc#886116)

- 3.1.89
OK, so LGTM