project file transform: don't imply we know the band count (fixes #7080, fixes #8283)