upgrade: more standard creation of the temporary repository
By using the standard path to create a repository we fill some hole in the
current initialization process. The one who triggered this changeset was the
lack of extensions initialization.
#require docutils gettext
$ $TESTDIR/check-gendoc da
checking for parse errors