templates / branches--on commit submodule: use prepare_submodule_repo_env consistently (c12e865)
   1: this is just to ensure the directory exists.