ya, dried peppermint, peppermint extract or peppermint tea works. it's the smell of mint and garlic and the bite of the pepper that makes it perfect for dealing with everything from spider mites to deer.
i use it indiscriminately in my vegetable garden and on my cannabis up till flowering begins, after flowering is well under way you gotta cover the colas with sammich baggies before you spray