Fix handling of overriding selections and let printUpgradesOnly fail gracefully.