Fixes #5464: Make the rudder-upgrade script able to report errors intead...

... of silently failing

Ticket: http://www.rudder-project.org/redmine/issues/5464

To be merged in 2.11