clean error handling for rvmrc migrations, update #1627