refactor: minor cleanup in osGetAvatarList()