templates / branches--on commit test-lib.sh: move error line after error() declaration (570f322)
   1: this is just to ensure the directory exists.