Only mock import non-existing modules
Make the Mock module more robust