getDatabase.sh bugfix for wikis in different languages
Merge pull request #1331 from Wikia/getDatabase_bugfix

getDatabase.sh bugfix for wikis in different languages