Return a value from saltutil refresh_modules and refresh_pillar