CB-2811: shell and module-level hooks should receive project root as parameter.