Make sure only one commit in RefLog is selected when it is expected to pick a revision

Otherwise, disable OK button, like what Log Dialog does

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