Fix the git option
Populate requirements.txt
Handle more errors