templates / branches--on commit safe_create_leading_directories(): split on first of multiple slashes (bf10cf7)
   1: this is just to ensure the directory exists.