Fixed version check in repository

Fixes AXON-166 and Synapse #5