Do you support {} as HEAD?  If so test on line 84 needs to change, to *revision.