Fix repo version getter for the horrible python 2.6, ok?