Fix a bug with ignore params printing a file path even if there are no unused variables

W.I.P. still need to add tests