Fixes #5235: Fixes rudder-upgrade-database (missing RUDDER_OPT definitio...

...n)

Ticket: http://www.rudder-project.org/redmine/issues/5235

To be merged in 2.11
shellcheck: ${} on variables in an arithmetic expression is not necessary.