correct directory prefix in generated gitignore