Fixed bug when checking if Hombrew was installed in the system