Fix Registry#getPendingMigrations() for case when direction is 'down'

Available migrations collection is not quite right for this case, since person can add migration which was not run yet, so reversing it would cause issues. Instead use completed migrations collection to reverse only existing DB stuff only.