Correctly trim project dir when filtering from .abignore