Don't get the progress handle if we don't have the progress dialog when ...

...scanning music

The MusicInfoScanner fetched the progress dialog, it handles fine without being able to create a handle but it does not check if the progress window is installed. On Headless no windows are installed to the window manager, thus it crashed while scanning.