use 'master' instead of 'HEAD'
proper variable naming and passing
Merge pull request #1032 from edx/derf/testing_abbey_private_build

Fixes to abbey external playbook support