Fix history endpoint path
It has no effect on pip version but it's not working with on debian stable
Related to T3165