Extending stream initialization so stream head is used if min_revision yields no commits.