Fixes: [24851] Only set SFGAO_HASSUBFOLDER when there are really subfolders
