Fixed pre-commit hook to use system python.