Fixes importing profile with a wallet that is not ready
Merge pull request #1826 from matiaspando/error/importProfile

Fixes importing profile with a wallet that is not ready