testing: make FindImports work for packages that use cgo