Fix the .gitignore path and remove .directory