Fix incorrect error codes returned on pip config failure in the host class drivers.