make .gitignore paths correctly relative to its directory
TODO