Refactoring pillar to map branches to salt environments.