Fixes #3513: Fix rudder-upgrade script (broken grep)

To be merged in master

Ticket: http://www.rudder-project.org/redmine/issues/3513