Fix rvm prompt detection