Fixing issue where refreshing packagedb
Fixing issue where refreshing packagedb

saltstack/salt-pkg-tests,dubb-b/salt-pkg-tests,jfindlay/salt-pkg-tests,dubb-b/salt-pkg-tests,saltstack/salt-pkg-tests,saltstack/salt-pkg-tests,dubb-b/salt-pkg-tests