Fixing a backporting mistake (Bug #1384497)

Older versions handle the check_upgrades() output
differently

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