Fixed rename source directory issue when detected source directory not root directory of extracted directory.
Fixed rename source directory issue when detected source directory not root directory of extracted directory.

Signed-off-by: Rack Lin <4316f05055309cf237e0fde316dbde39db851065@gmail.com>

pierredup/phpbrew,dduca-sugarcrm/phpbrew,pinkbigmacmedia/phpbrew,pierredup/phpbrew,viniciusferreira/phpbrew,mengzyou/phpbrew,pinkbigmacmedia/phpbrew,dduca-sugarcrm/phpbrew,davidfuhr/phpbrew,svetlyak40wt/phpbrew,williamn/phpbrew,wellic/phpbrew,pierredup/phpbrew,mengzyou/phpbrew,wellic/phpbrew,mengzyou/phpbrew,phpbrew/phpbrew,williamn/phpbrew,kayyyy/phpbrew,konomae/phpbrew,morozov/phpbrew,svetlyak40wt/phpbrew,kayyyy/phpbrew,viniciusferreira/phpbrew,mengzyou/phpbrew,pinkbigmacmedia/phpbrew,konomae/phpbrew,viniciusferreira/phpbrew,williamn/phpbrew,kayyyy/phpbrew,dduca-sugarcrm/phpbrew,svetlyak40wt/phpbrew,davidfuhr/phpbrew,wellic/phpbrew,phpbrew/phpbrew,davidfuhr/phpbrew,davidfuhr/phpbrew,hechunwen/phpbrew,morozov/phpbrew,zonuexe/phpbrew,kayyyy/phpbrew,svetlyak40wt/phpbrew,hechunwen/phpbrew,davidfuhr/phpbrew,konomae/phpbrew,zonuexe/phpbrew,hechunwen/phpbrew,phpbrew/phpbrew,zonuexe/phpbrew,pierredup/phpbrew,hechunwen/phpbrew,konomae/phpbrew,zonuexe/phpbrew,wellic/phpbrew,viniciusferreira/phpbrew,pinkbigmacmedia/phpbrew,dduca-sugarcrm/phpbrew,williamn/phpbrew