Fix extensions listing for grep command