fix(init): exit parent template dir context after using it
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
The directory isn't guaranteed to exist after the context manager exits.
---
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
There were some unrelated lint/test failures.
Evaluation history
No evaluation history available.