Make the doInstall function readable and lose one level of hierarchy on a bit part of it by returning a error sooner.
Make the doInstall function readable and lose one level of hierarchy on a bit part of it by returning a error sooner.


marcosptf/pear-core,marcosptf/pear-core,marcosptf/pear-core,marcosptf/pear-core,marcosptf/pear-core,marcosptf/pear-core