templates / branches--on commit apply: make update_pre_post_images() sanity check the given postlen (2988289)
   1: this is just to ensure the directory exists.