Do no print message if pkg register failed

Fixes: #1119
Really fix