improve handling of importing packages that have yet to be installed
Merge pull request #2 from craigbruce/master

Improve handling of importing packages that have yet to be installed