Merge pull request #1369 from arrbee/repo-init-template-hooks More tests (and fixes) for initializing repo from template