Look in Imports as well as Depends when trying to resolve items from checkUsageEnv

Fixes #8