Improve folder name length detection considering vkb (fixes NB#90429).