saltstack/salt — pull request #4578 by bclermont (2013-04-23 10:55:45+00:00)
Title: Don't refer to deleted branch in repository in environments

Using gitfs if you create a branch and push. ``salt.fileserver.gitfs.update`` will get it on next loop iteration.
But if you eventually delete that branch on the repository, it still appears in the list of environments.

This check if a ref is in remote stalled list.

I couldn't find a way to remove deleted tags.