Fix failing upgrade message

If an upgrade fails, there is no dependency to print the name of.  Just
print the error message in such case.