Fix head detection for given branch
Merge pull request #55 from HouseTrip/doctors/fix-branch-selection-for-fetch-and-build

Doctors: Fix branch selection for fetch and build