BUG 5978 Fix some problems when installing a plugin with PluginRegistry
BUG 5978 Fix some problems when installing a plugin with PluginRegistry

tomolimo/processmaker-server,colosa/processmaker,colosa/processmaker,tomolimo/processmaker-server,colosa/processmaker,colosa/processmaker,baozhoutao/processmaker,hitsumabushi/processmaker,hitsumabushi/processmaker,hitsumabushi/processmaker,hitsumabushi/processmaker,baozhoutao/processmaker,tomolimo/processmaker-server,hitsumabushi/processmaker,baozhoutao/processmaker,baozhoutao/processmaker,tomolimo/processmaker-server,tomolimo/processmaker-server,colosa/processmaker,colosa/processmaker,tomolimo/processmaker-server,baozhoutao/processmaker,baozhoutao/processmaker,hitsumabushi/processmaker