gnome-shell: fix startup with empty history

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>