support for getting local branch when working on travis-ci