templates / branches--on commit http-push: refactor lock-related headers creation for curl requests (b1c7d4a)
   1: this is just to ensure the directory exists.