Catch if module file is not set

When loading .net assemblies after import clr, the file attribute is present but not set, causing the autoreload module to not work appropriately.
Merge pull request #6985 from ajholyoake/master

Catch if module file is not set (issue #6984)