[issue-95] Handle existing bad osgi versions in the repo

If there is a version in the repo already that looks like 1.2-redhat-1 or
1.2.redhat-1, the next osgi compat version increment should be 1.2.0.redhat-2