ensure return status when failed curl on rvm get, update #3167