Don't loop forever. Quit after three tries.
Skip lines beginning with # (allow us to comment out packages)
Fixing the path to the packages we want
Commenting out old/missing modules, updating versions of remaining