UI wasn't displaying error messages from import

Fixes #1155
Merge pull request #1258 from mkanoor/git_issue_1155

UI wasn't displaying error messages from import