SbtFileImpl: properly resolve implicit imports (workaround)
(cherry picked from commit 480c58b)