Various bug-fixes with kernel installs.

Fixed a typo causing grub list to not incrament and other issues
with finding a reliable uname string via inspecting RPM directly.

Signed-off-by: Sandon Van Ness <sandon@redhat.com>
Does StringIO.getvalue() definitely work twice in a row?