Fixed issue #1499: Allow to show log if current HEAD and selected ref is orphan branc...