ioslides: avoid reference exceptions during local storage test