agreed, however this is done in salt/config.py...  figured it best to be migrated to a method that is somewhat reusable.