templates / branches--on commit t5520: factor out common "failing autostash" code (44a59ff)
   1: this is just to ensure the directory exists.