Issue #2227483 by drkloc: Fixing test run build
Getting current branch from travis enviroment