Fix Lockfile#trusted?

:construction: 

This PR is a WIP to try and figure out why some lockfiles that should be trusted are not.