Use an explicit path for the keydir not `getcwd`
Change to an existing directory before importing keyring
Test needs root perms
Maintain old test behaviour(no new lines added)
Fix log message
Adapt tests to behaviour introduced in #13333
A more generic directory name
No renaming is happening, return a boolean.
Raise an exception so the state knows what happened
Improve error message
fixing issue with yumpkg and aptpkg where pkgs was being zeroed out.
Merge pull request #13359 from garethgreenaway/13293

Fix issue in aptpkg and yumpkg modules related to holding/unholding packages
Merge pull request #13350 from s0undt3ch/hotfix/jenkins

unit test fixes