Fix the ACL report

It tried to get a database name, instead of the schema name.

Report from Hervé Werner.