templates / branches--on commit run_hook(): check the executability of the hook before filling argv (cf94ca8)
   1: this is just to ensure the directory exists.