templates / branches--on commit submodule-config: combine early return code into one goto (0918e25)
   1: this is just to ensure the directory exists.