change brew package install status check to brew list