Fix showing branch if specified branch, tag or id does not exist.