PolyDeploy checks the portal file extensions for security and only allows the update of those file extensions. Which seem OK, but the module install system uses different rules. So a module that installs on DNN, does not install on polydeply until you edit the security file system, which actually makes you create a possible security problem.
Overall this make DNN less secure and should not be done.