better error message for failed registration (bnc#870787#c2)