main: Also clear error when running under GDM
Commit 0349a77a ("main: Lower fallback warning when running in GDM") removed error logging when running under GDM. However, the error was not cleared afterwards, leaking it to later operations and causing other issues.
Closes: #105 (closed)