templates / branches--on commit dir.c: unify is_excluded and is_path_excluded APIs (95c6f27)
   1: this is just to ensure the directory exists.