XWIKI-8900: The option to repair the previous UI is not available anymore after you skip the Distribution Wizard and restart the server
* The condition for showing the repair UI was too restrictive.
XWIKI-9847: Distribution Wizard first step does not see empty databases anymore
* The number of documents that are automatically created has increased.

(cherry picked from commit 360520ed8866e489ff7f9000ed747cdcdd5b86e0)

Conflicts:
	xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/distribution/extension.defaultui.wiki