It's here for one main reason... On extension deletion, without it here, this function will be run again, causing problems. So it not only prevents overwriting existing data, but prevents it from falling to the pitfall of custom functions running on extension purging.