rpm.update and rpm.upgrade dont use locals() for kernel option