more error handling for internal uci_import calls