Add missing state when creating pip directory