use CIRCLE_BRANCH env var for reported branch instead of HEAD for CircleCI
don't use has_key
using operator  or  as suggested
Merge pull request #24 from dfuentes77/use_circle_branch

Use CIRCLE_BRANCH env var for reported branch instead of HEAD for CircleCI