templates / branches--on commit fetch-pack: avoid quadratic behavior in remove_duplicates (7db8d53)
   1: this is just to ensure the directory exists.