Make gitlab compatible with Python 2.6 (for example still used in RedHat 6)