Fix blocking issue when no SD card is present