Fixed ignore handling with tests

Addresses issue #896.  I had to modify an existing test as by-id ignoring of relative paths is not possible with this fix (and probably shouldn't be as it causes the bug).