sack: add a public function to get the running kernel package.

Related: RhBug:1049310