utils.io: T6207: allow default in select_entry
(cherry picked from commit 5a8be747febc13b7d3be88e8ace7ec2aa0b2ca28)