server: Fix for possible desktop variable being NULL when set_process_default_desktop is called