Add /dev/null redirection for a conditional grep