alixandru/bitbucket-sync — pull request #2 by iggyvolz (2014-07-12 20:52:31+00:00)
Title: Ensure DEPLOY_BRANCH is set before checking it

Check if isset($DEPLOY_BRANCH) before checking if it is a valid branch.