[fix] Prevent patching sources twice.