improve diagnostics when bad things happen during expansion
drwxr-xr-x - bin
drwxr-xr-x - contrib
drwxr-xr-x - doc