restore master/HEAD convention in lhcb-*-patches
This reverts merge request !17 (merged) and implements the same logic using HEAD instead of master.
This reverts merge request !17 (merged) and implements the same logic using HEAD instead of master.