When yum presents the Is this ok [y/N]: prompt, it only checks the first character entered. In my instance, I typed a y, did something else, then typed n<enter>. This caused yum to accept my 'yn' as a y. I'm attaching a patch against the yum git repo. I'd file this bug with upstream, but I cannot use their bugzilla as they won't let anyone create a new account easily. The patch makes the user enter 'y', 'n', 'yes', or 'no'.
Created attachment 236821 [details] Simple proposed patch
checked in your patch, thanks.