Fixed (probably) the case when tables in mappings have no prefix. If the
schema is "", then sets tableOwner to the logged in user