use only last line of rvm output when searching for environment file, fix #23