brew: Display a clear error message when the path is invalid