Skip fetching path if the iteration is going to be skipped
Replace assert_(no_)match args from regexps to strings to remove warnings

Using regexps as arguments without parentheses end up raising:

    warning: ambiguous first argument; put parentheses or even spaces