Ignore empty result in the progress handler for the loading screen

If the message passed to the handler is undefined, don't break.

It is unclear why this happens, but being robust about this seems to be a good
idea anyway.