io: disable patch when building HEAD

fixes head builds for io: #24822