assorted cleanup

- address review nits
- since process_name() was effectively boolean anyway, it now explicitly is
26 jobs for hooks-initial in 8 minutes and 44 seconds (queued for 30 seconds)