When pushing directly to a fork, the upstream branch does not exist and thus returns an empty string.