Fix change that broke restarting with calibre-debug -g