unset GEM_HOME and GEM_HOME before doing any rvm operations from cd hook, fix #2074