templates / branches--on commit attr: make sure we have an xdg path before using it (f0c1c15)
   1: this is just to ensure the directory exists.