hydra: do not use refs/heads while checking for latest commit in branch

Created by  Rob Vermaas  on September 7, 2010
3I6BNF4SWOQLXZPBESHH4S743QEMOXUJR4IKFRVQ3PO6SUGLPIAAC
Change contents