Fix crash on startup when no palettes found