pkg.installed/latest: don't refresh_db if refresh==False

@thatch this is a proposed solution to #5733. Check out the comment linked below for some background.

https://github.com/saltstack/salt/issues/5733#issuecomment-33888898