fixed bug when db shema name returned emtpy string
style fixes
Merge pull request #41 from daniel-zsigus/v1.x

fixed bug when the db schema name returned an emtpy string