Search for all imports instead of global imports
This may solve the issue 766 in official repo
https://github.com/nddrylliog/rock/issues/766