Use more precise grep motifs

Add a ">" symbol at the beginning of the motif to reduce the risk to
grep a motif that would be the suffix of another one.