if values for substitution in yum config are None, remove them from the config file, and restore late usage of yum in chroot