fix edge cases of the pip install command