Handle import errors for missing modules