templates / branches--on commit cache-tree: simplify locking logic (2954e5e)
   1: this is just to ensure the directory exists.