[#10070] fix potential SQL injection vulnerability in modImport class

Here's a way to address the issue. It may not be the most ideal way, but it seems to address the issue.