Fixing merge problem with upgrade script (Bug 548021)

missing a closing } on an if statement.

Change-Id: Icc0194e6c5753e006551afe50334a89937572f0a
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>