Fixed issue where .gitignore file was not working