[bug 1074315] Ignore deleted files for linting in pre-commit hook

Use mythmon's fix for this issue in kitsune repository from
https://github.com/mozilla/kitsune/pull/2252