Do not prompt error on showing log list context menu

This happens after resetting to HEAD~2 or older, select original HEAD and HEAD~1, then open context menu

Fix regression of commit '02fbc263b2da8d4cd92e10ff1509dcb277426890'

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