handle the case where we couldn't even import deps.

Fixes ticket 147 on trac.