Fix failing pip upgrade command