templates / branches--on commit filter-branch: fix ref rewriting with --subdirectory-filter (a0e4639)
   1: this is just to ensure the directory exists.