Fix incorrect statement order in level XML loader.

The result of this incorrect order was mainly to be observed by
messages like "loaded level:" messages without an actual level
path in debug mode.