KisDocument should not ask for the viewmanager if there is possibly none.
Krita can be run in headless mode, for example, or,
it could be running a python script.
This fixes the last documents python docker. I do vote we disable that one
by default, because it makes Krita load pretty slow when you have big files.