Fixed an issue with .gitignore being badly split

Split specifically on newline characters.
Blank any comment lines.
Ignore any empty lines.