trims off the './' which wasn't valid in the .gitignore file