Do not try to append wgDBname; fixes #1