Handling invalid lines in requirements.txt files