Cleanup
Appends output to .gitignore by default
Fixed up error handling when a gitignore cannot be found