Change gitignore path to use shell expansion.