Correctly handle an empty error message from PQescapeIdentifier