Fixed version detector for easy_install, setup.py and cloned repository

The version was always unknown every time I cloned the repository or installed python-gnupg with easy_install. This patch fixes both cases.