Do no print message if pkg register failed

Fixes: #1119
Really fix
avoid // in path otherwise libarchive won't apply properly the mode
1.4.99.2