templates / branches--on commit Replace all die("BUG: ...") calls by BUG() ones (033abf9)
   1: this is just to ensure the directory exists.