Do some error checking on getting the path's string before attempting to use it for sub import.
Do some error checking on getting the path's string before attempting to use it for sub import.

git-svn-id: d8f21eb7283bfb39ebab2f8f9b4a259b233f9348@1153 621663c8-3916-0410-8f58-edc14a8543d5

mrvacbob/perian,mrvacbob/perian,mrvacbob/perian,mrvacbob/perian,mrvacbob/perian