[Refactoring] Fixed resolve command when framework lookup isn't available yet.