saltstack/salt — pull request #6066 by terminalmage (2013-07-09 17:40:27+00:00)
Title: Don't try to load git_pillar if not enabled in master config

This fixes #6052 by doing a check for git-based external pillars in the
master config, and returning False when there are none. This suppresses
an error later on in the ``__virtual__()`` function which complains that the
git fileserver backend is configured (when it clearly is not).