templates / branches--on commit receive-pack: don't pass non-existent refs to post-{receive,update} hooks (160b81e)
   1: this is just to ensure the directory exists.