templates / branches--on commit files-backend: don't rewrite the `packed-refs` file unnecessarily (7c6bd25)
   1: this is just to ensure the directory exists.