Handle '(unset)' as return value (when no target is set) in get_current_target().