Minor improvements to pre_commit/run.py