Make ack-grep alias check more resilient