Fixed the process of removing perlbrew path.