Re-added .gitignore and better handle missing config file.