Catch XDMP-IMPMODNS and XDMP-IMPORTMOD when the path is the tested module

only catch XDMP-IMPMODNS and XDMP-IMPORTMOD exceptions when the path is the same as the tested module, otherwise throw an error to aid in troubleshooting