templates / branches--on commit http: do not set up curl auth after a 401 (1960897)
   1: this is just to ensure the directory exists.