fixed final error when homebrew not installed