Having the SD card corrupt or missing isn’t a big deal. If it doesn’t detect and mount the SD successfully during boot it will finish booting from the internal flash, as if it wasn’t configured to boot from SD. Just insert a working SD card and reboot to get external SD mounted as the root FS again.