fix wrong message when push to registrey fails

the title is pretty self explanatory :-)