Refine pre-commit hook

* Since System.in is a legitimate inclusion, search for System.out.print
  statements instead