pywikibot.version.getversion_package: Return empty string as hash value
pywikibot.version.getversion_package: Return empty string as hash value

Since we have removed __version__ variables, get_module_version(pywikibot)
will always return None. The None value causes failure later when data['hsh']
is sliced on line 85.

Also since Python 3.4 __file__ is always absolute.[1] This was causing a
discrepancy between the results of python2 and python3.

[1]: https://docs.python.org/3.4/whatsnew/3.4.html#other-language-changes

Bug: T185491
Change-Id: I4dacaf7c687b29f64cfb9a1db855a452c1a58416

magul/pywikibot-core,wikimedia/pywikibot-core,wikimedia/pywikibot-core,magul/pywikibot-core,PersianWikipedia/pywikibot-core