Fix version swapping when a version part > 10

Handle special case of "master"
Fix #2
Version 0.6.6