Add fallback of interpreting an import path as a directory path