Simplification of Repository Migrations

Currently we only need to migrate repositories created with a version lower than 2.1.7
i.e. repositories created by versions 2.1.7, 2.1.8 and 2.1.9 are compatible and do not need any migration step.