Guard against NPE on PublicationRegistry
Add transitive project dependencies in custom tooling model