Avoid crash if SD card is missing