buildbot: fix regex for version detection