Flatten the SQL result set so that the array difference actually works.
drwxr-xr-x - bin
drwxr-xr-x - src