Fix ignore not applying to paths generated by SCM

This fix makes it more pleasant to use the following as a pre-commit hook:

    codequality --ignore '*/migrations/*' --scm git