Fix incorrect comparison of reflog syntax

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Reflog hash is repeatable!

map should not be used

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Drop unused methods

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>