after testing the repos, when wanting to remove them and return to vanilla arch on an existing arch installation, the script may fail and leave the repositories and keyring related packages installed, instead of having them removed. I had to remove them manually then fix the following error:
warning: alsa-lib: unknown key '%INSTALLED_DB%' in local database
where alsa is just an example as it may happen with all packages of the system.
better explained here:
https://www.reddit.com/r/archlinux/comments/1bfxbtu/getting_a_warning_that_every_single_package_i/
so you may like to improve it.
best regards.