templates / branches--on commit trace: refactor to support multiple env variables (0679660)
   1: this is just to ensure the directory exists.