[registry] Install base-devel as a needed dependency and clean up after
setup