Use absolute paths in .gitignore.

.gitignore treats all its paths as relative to *every* directory
in the repository. In most cases that’s not what’s desired.