Deprecate branch and replace it with 'deployment_branch'

Fixes bug: 337