Using self.version is cause some issue (travis-ci), attempt to fix this.

Signed-off-by: crynobone <crynobone@gmail.com>