Correctly removes mocha entries 

Broke AFAIK after move of mocha to peerdependencies. Makes for much shorter and relevant callstacks.