Fixed .gitignore's public/media assertion.

[skip ci]