reset rvm_current_rvmrc in cd for the same directory cd, re-fix #2417
make sure __rvm_after_cd does not fail