getDatabase.sh bugfix for wikis in different languages

Curl at default is not following redirects so on different languages curl was not able to Special:Version.