use resolve's isCore function instead of searching all the way through the directory tree