Handle sessions.json issues more gracefully